﻿
using AngularAuth.Data.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AngularAuth.Data
{
    public class TodoDbContext : IdentityDbContext<ApplicationUser>
    {
        public TodoDbContext() : base("TodoAngularConnection", throwIfV1Schema: false)
        {

        }

        public DbSet<Todo> Todos { get; set; }

        public static TodoDbContext Create()
        {
            return new TodoDbContext();
        }


    }
}
